package global

import (
	"a_plus_station/config"
	"a_plus_station/utils"
	ut "github.com/go-playground/universal-translator"
	"github.com/mojocn/base64Captcha"
	"github.com/olivere/elastic/v7"
	"gorm.io/gorm"
	"net/http"
)

var (
	DB            *gorm.DB
	RedisDB       *utils.RedisClient
	ServerConfig  *config.ServerConfig = &config.ServerConfig{}
	Trans         ut.Translator
	Request       *http.Client
	CP            *base64Captcha.Captcha
	EsClient      *elastic.Client
	EsIndexExists bool
	CollectCache  *utils.CollectCache
)
